Work around uscan issue with GitHub releases page
authorGunnar Hjalmarsson <gunnarhj@debian.org>
Tue, 8 Nov 2022 15:28:14 +0000 (16:28 +0100)
committerGunnar Hjalmarsson <gunnarhj@debian.org>
Tue, 8 Nov 2022 15:28:14 +0000 (16:28 +0100)
The releases pages at GitHub are currently generated in a way which is
not compatible with uscan. This commit replaces "releases" with "tags"
in debian/watch to work around the issue.

debian/watch

index ab1e001c2841d5d1cf087f5620b63272a7c8c920..7c65a044063e9b9dd5418a96e49c93b7fbe29d04 100644 (file)
@@ -1,4 +1,4 @@
 version=4
 opts="dversionmangle=s/\+ds\d?$//,repack,repacksuffix=+ds1,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
- https://github.com/byvoid/@PACKAGE@/releases \
+ https://github.com/byvoid/@PACKAGE@/tags \
  (?:.*?/)?(?:ver\.)?@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate